package day03.statics;

/**
 * @author yangwenqi
 * @decs TODO
 * @date 2025/4/20
 */
public class Test {
    public static void main(String[] args) {
        // 涨薪10%
        Employee emp1 = new Employee("张三", 6000);
        System.out.println("调整前薪资：" + emp1.getSalary());
        EmployeeUtil.bonus(emp1);
        System.out.println("调整后薪资：" + emp1.getSalary());

        // 涨薪20%
        Employee emp2 = new Employee("李四", 12000);
        System.out.println("调整前薪资：" + emp2.getSalary());
        EmployeeUtil.bonus(emp2);
        System.out.println("调整后薪资：" + emp2.getSalary());

    }
}
